<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title> 缩放 scale </title>
  <style>
    img {
      width: 150px;
      margin: 200px;
      transition: all 0.4s;
    }

    img:hover {
      /* 1. 里面写的数字不跟单位 就是倍数的意思 */
      /* transform: scale(2); */
      transform: scale(0.2);
    }
  </style>
</head>
<body>
  <img src="../../img/1.jpg" alt="">
</body>
</html>
